any process either caused or accompanied by the passage of an electric current and involving in most cases the transfer of electrons between two substances-one a solid and the other a liquid